#pragma once
#include "sensordatainput.h"
#include <XnOS.h>
#include <XnCppWrapper.h>
#include "ReconstructByKinectCommonGlobal.h"



class _LIB_CLASS SensorDataKinectInput : public SensorDataInput
{
private:

	xn::Context _context;
	xn::DepthGenerator _depth;
	xn::DepthMetaData _depthMD;
	xn::ImageGenerator _image;
	xn::ImageMetaData _imageMD;

public:

	SensorDataKinectInput (const std::string &name, char* configFile);

	virtual ~SensorDataKinectInput ();

	virtual bool grabFrame();

};